package com.spacewiz13.algorithm.array;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class SingleNumberTest {

	@Before
	public void setUp() throws Exception {
		System.out.println("每个方法前，都执行");
	}

	@Test
	public void testMain() {

	}

	@Test
	public void testSingleNumber1() {
		int[] nums = {1,1,2,2,4,4,5};
		System.out.println(SingleNumber.singleNumber1(nums));
	}

	@Test
	public void testSingleNumber2() {
		int[] nums = {1,1,2,2,4,4,5};
		System.out.println(SingleNumber.singleNumber2(nums));
	}

}
